<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* font-weight 控制字体粗细 */
        h1{
            font-weight: 400;
        }
        p{
            font-weight: 700;
        }
        /* font-style控制是否倾斜 */
        em{
            font-style: normal;
        }
    </style>
</head>
<body>
    <h1>标题1</h1>
    <p>加粗</p>
    <em>倾斜</em>
</body>
</html>